package com.yidu.dao;

import com.yidu.domain.Teacher;

import java.util.List;

/**
 * <p>@Description: No Description</p>
 * <p>@Author yidu-liandyao</p>
 * <p>@Date: 2021-01-06</p>
 * <p>@Time: 10:04</p>
 */
public interface TeacherMapper {
    /**
     * 查询所有
     * @return
     */
    public List<Teacher> selectAll();

    public List<Teacher> selectAll2();

    public List<Teacher> selectTeaAndCls();


    public Teacher findById(Integer tid );

    public int addBatch(List<Teacher> teas);

    /**
     * 修改
     * @param tea
     * @return
     */
    public int update(Teacher tea);
}
